package com.kuang.service.Impl;


import com.kuang.entity.Department;
import com.kuang.mapper.DepartmentMapper;
import com.kuang.mapper.SysUserMapper;
import com.kuang.service.DepartmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DepartmentServiceImpl implements DepartmentService {
    @Autowired
    private DepartmentMapper departmentMapper;

    /**
     * 学院分页下拉框
     **/
    @Override
    public List<Department> findAll() {
        List list = departmentMapper.findAll();
        return list;
    }

}
